/* Copyright 2010 by Matt Van Der Westhuizen */

package org.chaoticengine.ast;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.SlickException;

/**
 *
 * @author Matt Van Der Westhuizen <mattpwest@gmail.com>
 */
public class Main {
    public static void main(String[] args) throws SlickException {
        GlobalData gd = GlobalData.getInstance();

        AppGameContainer agc = new AppGameContainer(new ASTGame());
        agc.setDisplayMode(Integer.parseInt(gd.getConfig("width")),
                Integer.parseInt(gd.getConfig("height")), false);
        agc.setVSync(Boolean.parseBoolean(gd.getConfig("vsync")));
        agc.start();
    }

}
